Previous Thread
Next Thread
Print Thread
Rate Thread
#241719 03/29/2003 7:33 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
I search hack for sending private messages for all users, or any groups. How to do it?

Sponsored Links
Dawg_dup1 #241720 03/29/2003 8:00 PM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
You don't want to do that, it's inefficient.

joeuser #241721 03/29/2003 8:16 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Very inefficient since users can turn off notification for PM and if they do not visit often they will never see it. EMAIL ALL USERS in admin panel is best way.

sf49rminer #241722 03/30/2003 11:22 AM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
But my serwer hasn't installed email function

Dawg_dup1 #241723 03/30/2003 1:39 PM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
If you really want to do this, you can see an example of sending a PM to a group in admin/derevokemod.php. Look for "Now inform all other Admins and mods". Refer to function send_message() in ubbt.inc.php for allowable values of the $Group parameter.

If you wanted to send to a group other than one of those groups, you would need to tweak the code.

The reason I said it was inefficient is because each copy of the PM is stored in the database for every user whom it's sent to.

Sponsored Links
joeuser #241724 03/30/2003 7:13 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
I tried but without any positive result
How change change option chagne Email to All fo send Pm to all... (cosedemail.php file << executive command)

Dawg_dup1 #241725 04/06/2003 9:12 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, if you have 1000 members, it's like storing the same "post" in the Database 1000 times.

The bigger the databases get the slower things eventually get. A couple of "bulk PMs" to a large user base could drastically slow down your forums.

If you want certain groups to see an "announcement", then it's best to make a forum that only that group can see and make an announcement there.

Then you only store the message once.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2000
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 12
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)